// 
// Decompiled by Procyon v0.5.36
// 

package com.orange.boot.strategy;

import java.util.Optional;
import com.orange.boot.environment.entity.EnvironmentData;
import java.util.List;
import org.springframework.stereotype.Component;

@Component
public class getEnvironmentContextServiceImpl implements getEnvironmentContextService {
    public getEnvironmentContextServiceImpl() {
    }

    public List<EnvironmentData> generatorEnvironmentContext(String code) {
        return ((GetEnvironmentParaStrategy)Optional.ofNullable(Code2EnvironmentBeanConfig.code2StrategyMap.get(code)).orElseThrow(() -> {
            return new RuntimeException("没有找到实现的bean" + this);
        })).getEnvironmentalData(code);
    }
}
